* lisp/help.el (help-form-show): Use 'insert' instead of 'princ'
so that keys in 'help-form' are displayed with 'help-key-binding' face.
"Display the output of a non-nil `help-form'."
(let ((msg (eval help-form t)))
(if (stringp msg)
- (with-output-to-temp-buffer " *Char Help*"
- (princ msg)))))
+ (let ((bufname " *Char Help*"))
+ (with-output-to-temp-buffer bufname)
+ ;; Use `insert' instead of `princ' so that keys in `help-form'
+ ;; are displayed with `help-key-binding' face (bug#77118).
+ (with-current-buffer bufname
+ (let (buffer-read-only)
+ (insert msg)))))))
(defun help--append-keystrokes-help (str)
(let* ((keys (this-single-command-keys))